home *** CD-ROM | disk | FTP | other *** search
-
-
- rawtoppm(1) Unix Programmer's Manual rawtoppm(1)
-
-
- NNNAAAMMMEEE
- rawtoppm - convert raw RGB bytes into a portable pixmap
-
- SSSYYYNNNOOOPPPSSSIIISSS
- rrraaawwwtttoooppppppmmm [-hhheeeaaadddeeerrrssskkkiiippp _N] [-rrrooowwwssskkkiiippp _N] [-rrrgggbbb|-rrrbbbggg|-gggrrrbbb|-gggbbbrrr| [---
- iiinnnttteeerrrpppiiixxxeeelll|-iiinnnttteeerrrrrrooowww] _w_i_d_t_h _h_e_i_g_h_t [_i_m_a_g_e_d_a_t_a]
-
- DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
- Reads raw RGB bytes as input. Produces a portable pixmap as output. The
- input file is just RGB bytes. You have to specify the width and height
- on the command line, since the program obviously can't get them from the
- file. The maxval is assumed to be 255. If the resulting image is upside
- down, run it through pppnnnmmmfffllliiippp ---tttbbb ...
-
- OOOPPPTTTIIIOOONNNSSS
-
- ---hhheeeaaadddeeerrrssskkkiiippp
- If the file has a header, you can use this flag to skip over it.
-
- ---rrrooowwwssskkkiiippp
- If there is padding at the ends of the rows, you can skip it with
- this flag.
-
- ---rrrgggbbb ---rrrbbbggg ---gggrrrbbb ---gggbbbrrr ---bbbrrrggg ---bbbgggrrr
- These flags let you specify alternate color orders. The default is
- ---rrrgggbbb.
-
- ---iiinnnttteeerrrpppiiixxxeeelll ---iiinnnttteeerrrrrrooowww
- These flags let you specify how the colors are interleaved. The
- default is ---iiinnnttteeerrrpppiiixxxeeelll, meaning three interleaved bytes make up each
- pixel. ---iiinnnttteeerrrrrrooowww means three interleaved rows - a row of red, a row
- of green, a row of blue, assuming standard rgb color order. The
- ---iiinnnttteeerrrppplllaaannneee flag is an obvious extension, but is not implemented.
-
- SSSEEEEEE AAALLLSSSOOO
- ppm(5), rawtopgm(1), pnmflip(1)
-
- AAAUUUTTTHHHOOORRR
- Copyright (C) 1991 by Jef Poskanzer.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 15 December 89 1
-
-
-